package com.dt76.smallloanfrontenduser.hystrix.etao;

import com.dt76.smallloanfrontenduser.pojo.etao.User;
import com.dt76.smallloanfrontenduser.remote.etao.UserRemote;
import com.dt76.smallloanfrontenduser.utils.Result;
import org.springframework.stereotype.Component;

@Component
public class UserHystrix implements UserRemote {

    @Override
    public Result doLogin(String userName, String password) {
        return new Result();
    }

    @Override
    public Result insertUser(User user) {
        return new Result();
    }

    @Override
    public Result doLoginByEmail(String email) {
        System.out.println("进熔断");
        return new Result();
    }

}
